///
///Author: YYF
///Date: 2020-12-19 12:34:03
///Description:
///

import 'package:flutter/material.dart';
import 'package:lh_shop_flutter/r.g.dart';

class SearchView extends StatefulWidget {
  @override
  _SearchViewState createState() => _SearchViewState();
}

class _SearchViewState extends State<SearchView> {
  @override
  Widget build(BuildContext context) {
    return Container(
      height: 34,
      width: MediaQuery.of(context).size.width,
      decoration: BoxDecoration(
          color: Color(0xFFE9E9E9), borderRadius: BorderRadius.circular(17)),
      child: Row(
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Image.asset(
            R.image.icon_search().assetName,
            width: 13,
            height: 13,
          ),
          SizedBox(
            width: 6.5,
          ),
          Text('复制搜索拼多多优惠券',
              style: TextStyle(
                  color: Color(
                    0xFFBABABA,
                  ),
                  fontSize: 13))
        ],
      ),
    );
  }
}
